package pl.edu.utp.ga.genes;

import pl.edu.utp.ga.interfaces.Gene;

public abstract class BasicGene<T> implements Gene<T>{
	
	protected T gene;
	
	@Override
	public T get() {
		return gene;
	}

	@Override
	public void set(T gene) {
		this.gene = gene;
	}

	public abstract T generate();
	public abstract void mutate(T mutation);
}